package com.smart.community.region.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 业主房户关联数据传输对象
 * 用于新增业主并关联房户的完整流程
 * 
 * @author Wu.Liang
 * @since 2025-08-22
 * @version 1.0.0
 */
@Data
public class OwnerWithHouseholdDTO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 业主信息
     */
    @Valid
    @NotNull(message = "业主信息不能为空")
    private OwnerDTO ownerInfo;
    
    /**
     * 房户ID
     */
    @NotNull(message = "房户ID不能为空")
    private Long householdId;
}
